Top Previous Next |
Filter Settings
Define what file types and directories are copied and which are not.
In most situations you would want to copy all the files in a directory, but with SyncBack you have the option of copying only certain files or file types. For example, you may not want to copy any files with the extension of '.tmp', or not copy any files called 'test. txt'. You can also choose which sub-directories to copy. For example, you can specify that no directories with the word 'temp' in it are copied. Note that directory filtering is available only if you have selected "Include all sub-directories and their files (and use the directory filter)" in the Sub-dirs drop-down list at the top of the settings window. Also note that you cannot filter out the root directory. The filter only applies to sub-directories. If a directory is filtered out, all of it's sub-directories are also filtered out.
The filter settings allow for a number of special characters (note that comparisons are not case sensitive):
* An asterisk matches any number of characters. Note that *.* will match any filename, even though technically it should exclude filenames that do not have a period ('.') character in them. This is kept for legacy reasons.
? A question mark matches a single arbitrary character. For example, ?est.txt would match the filename test.txt, best.txt, zest.txt, etc.
[ Each set begins with an opening bracket ([) and ends with a closing bracket (]). Between the brackets are the elements of the set. Each element is a literal character or a range. Ranges are specified by an initial value, a dash (-), and a final value. Do not use spaces or commas to separate the elements of the set. A set must match a single character in the string. The character matches the set if it is the same as one of the literal characters in the set, or if it is in one of the ranges in the set. A character is in a range if it matches the initial value, the final value, or falls between the two values. For example, [a-z]* will match any filename that begins with a letter.
] See the help on [ above.
- See the help on [ above.
! If the first character after the opening bracket of a set is an exclamation point (!), then the set matches any character that is not in the set. For example, [!a-z]* will match any filename that does not begin with a letter.
All Contents: 2BrightSparks Pte Ltd ⌐ 2003-2006 |